package cn.tedu.rms.branch.service;

import cn.tedu.rms.branch.pojo.dto.BranchQuery;
import cn.tedu.rms.branch.pojo.dto.BranchSaveParam;
import cn.tedu.rms.branch.pojo.vo.BranchVO;
import cn.tedu.rms.comment.pojo.dto.CommentQuery;

import java.util.List;

public interface BranchService {
    List<BranchVO> selectBranch(BranchQuery branchQuery);
    BranchVO selectById(Long id);
    void updateStatusById(Long id,String status);
    void saveBranch(BranchSaveParam branchSaveParam);
    void deleteBranchById(Long id);
    List<BranchVO> selectByContent(String content);

    BranchVO selectBranchComment(CommentQuery commentQuery);
}
